﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class 实验三_3_8_Page1 : System.Web.UI.Page
{
    StudentClassesDataContext db = new StudentClassesDataContext();
    protected void Page_Load(object sender, EventArgs e)
    {
      var id =  Request.QueryString["id"];
      var stus =  db.Student.Where(x => x.cid== id);
        GridView1.DataSource= stus;
        GridView1.DataBind();
    }
}